/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: Arial, sans-serif;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 主体内容 */
.container {
    flex: 1;
    padding: 20px;
}

/* 底部样式 */
.footer {
    background: #f5f5f5;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
}

/* 遮罩层样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 80%;
    max-height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-body {
    overflow-y: auto;
    padding: 10px 0;
}

.modal-buttons {
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: right;
}

.close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination a {
    padding: 8px 9px;
    margin: 0 4px;
    border: 1px solid #ddd;
    color: #333;
}

.pagination a.disabled {
    color: #999;
    pointer-events: none;
}

.pagination a.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* 顶部导航样式 */
.header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.site-title {
    font-size: 20px;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 10px;
}

.menu-item {
    position: relative;
    padding: 10px 0;
}

.menu-title {
    cursor: pointer;
    padding: 4px 6px;
}

.menu-title:hover {
    color: #007bff;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 99px;
    z-index: 1000;
}

.menu-item:hover .submenu {
    display: block;
}

.submenu a {
    display: block;
    padding: 6px 9px;
    color: #333;
    text-decoration: none;
}

.submenu a:hover {
    background: #f5f5f5;
}

/* 页面布局调整 */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 20px;
} 